package com.xja.service;
import com.xja.pojo.*;

import com.xja.pojo.CourseInfo;
import com.xja.pojo.CoursePerson;

import java.util.List;

import com.xja.pojo.Article;
import com.xja.pojo.BlogUsers;
import com.xja.pojo.ContentType;

/**
 * @className: BlogService
 * @description: TODO 类描述
 * @author: wkx
 * @date: 2022/4/17
 **/

public interface BlogService {
    List<Article> getHotestArticle();

    List<ContentType> selectConType();

    List<BlogUsers> getHotestUser();

    List<CourseInfo> getCourseInfoList(CourseInfo courseInfo);

    CourseInfo getCourseInfoById(Integer cid);

    Article getarticleById(Integer aid);

    List<ArticleComment> getCommentById(Integer aid, Integer count);

    List<Article> getLikeArticles(Integer typeid,Integer aid);

    List<ArticleComment> getdateArticlesList(Integer aid, Integer count);

    void addreadtime(Integer aid);

    Boolean insertCoursePerson(CoursePerson coursePerson);

    List<Article> getArticleList(Article article);

    int getPersonCountByCid(Integer cid,Integer uid);

    List<ArticleComment> getAllComment();

    List<ArticleCollInfo> getcollList(Integer uid);

    void addexrep(Integer uid, String format,String content);
}
